package com.yunsc.store.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.yunsc.common.validator.ValidationGroups;
import com.yunsc.store.entity.YunscExpressEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-06-05 20:44
 */
@Data
public class StoreExpressDTO {
    @JsonProperty("expressId")
    @NotNull(message = "expressId不能为空", groups = {ValidationGroups.Update.class, ValidationGroups.Delete.class})
    private Integer expressId;
    private YunscExpressEntity form;
}
